Problem Note 56084: The batch commands sas-recover and sas-recover-offline fail when the JSON file used as input data contains only the "forced" option
When you use a JSON file that includes only the "forced" option as input data for the batch command sas-recover or sas-recover-offline, the command fails and returns the following error:
statusCode: 500
errorMessage: Internal Server Error occurred :
N/A (through reference chain
com.sas.svcs.admin.backup.rest.model.RecoveryOptionsMapper["forced"])
This problem has been resolved in SAS® 9.4 TS1M3.
For SAS 9.4 TS1M2 software, use the workaround described below.
Workaround
To work around the problem, edit the JSON file and specify a "comment" for the recovery.
The "comment" should be placed before the "forced" option.
Here is an example:
{
"comment": "Restore",
"forced": "true"
}
Use the modified file as input data for the batch command and verify that the error message described in this note no longer occurs.
Operating System and Release Information
SAS System | SAS Deployment Backup and Recovery Tool | Microsoft® Windows® for x64 | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8 Enterprise 32-bit | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8 Enterprise x64 | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8 Pro 32-bit | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8 Pro x64 | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8.1 Enterprise x64 | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8.1 Pro | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8.1 Pro 32-bit | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows Server 2008 | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows Server 2008 R2 | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows Server 2008 for x64 | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows Server 2012 Datacenter | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows Server 2012 R2 Datacenter | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows Server 2012 R2 Std | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows Server 2012 Std | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Windows 7 Enterprise 32 bit | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Windows 7 Enterprise x64 | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Windows 7 Home Premium 32 bit | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Windows 7 Home Premium x64 | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Windows 7 Professional 32 bit | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Windows 7 Professional x64 | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Windows 7 Ultimate 32 bit | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Windows 7 Ultimate x64 | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
64-bit Enabled AIX | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
64-bit Enabled Solaris | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
HP-UX IPF | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Linux for x64 | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
Solaris for x64 | 9.4_M2 | 9.4_M3 | 9.4 TS1M2 | 9.4 TS1M3 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2015-12-17 09:19:31 |
Date Created: | 2015-06-30 16:22:39 |